package io.dshubs.archives.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.dshubs.commons.mybatis.entity.BaseTenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 档案移交记录表
 * </p>
 *
 * @author tan
 * @since 2021-08-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("archive_transfer_list")
public class ArchiveTransferList extends BaseTenantEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 档号
     */
    @TableField("file_number")
    private String fileNumber;

    /**
     * 档号
     */
    @TableField("category_id")
    private String categoryId;

    /**
     * 移交标题
     */
    @TableField("transfer_title")
    private String transferTitle;

    /**
     * 移交批次
     */
    @TableField("batch_no")
    private String batchNo;

    /**
     * 移交之后的公司id
     */
    @TableField("transfer_tenant_code")
    private Long transferTenantCode;


    /**
     * 移交之后的部门id
     */
    @TableField("transfer_dept_id")
    private Long transferDeptId;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 移交状态
     */
    @TableField("transfer_state")
    private Long transferState;


    /**
     * 移交数
     */
    @TableField(exist = false)
    private Integer transferCount;


    @TableField(exist = false)
    private String transferTenantName;


    @TableField(exist = false)
    private String transferDeptName;

    /**
     * 档号
     */
    @TableField(exist = false)
    private List<String> fileNumberList;

}
